<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>世系图生成 - 家族传承</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
</head>
<body class="bg-white">
  <header class="bg-red-500 text-white p-4 flex items-center justify-between">
    <h2 class="text-xl font-semibold">世系图生成</h2>
    <a href="index.html" class="text-white hover:underline"><i class="fas fa-home"></i></a>
  </header>
  <main class="p-4 max-w-2xl mx-auto space-y-6">
    <div class="bg-yellow-100 p-4 rounded shadow space-y-4">
      <h3 class="font-semibold text-gray-700">选择世系图样式</h3>
      <div class="grid grid-cols-2 gap-4">
        <label class="flex items-center space-x-2">
          <input type="radio" name="style" checked>
          <span>苏式</span>
        </label>
        <label class="flex items-center space-x-2">
          <input type="radio" name="style">
          <span>欧式</span>
        </label>
        <label class="flex items-center space-x-2">
          <input type="radio" name="style">
          <span>宝塔式</span>
        </label>
        <label class="flex items-center space-x-2">
          <input type="radio" name="style">
          <span>牒记式</span>
        </label>
      </div>
    </div>
    <div class="bg-gray-100 p-4 rounded shadow">
      <h3 class="font-semibold text-gray-700 mb-2">预览</h3>
      <div class="border h-64 bg-white flex items-center justify-center">
        <img src="https://source.unsplash.com/seed/tree-600x400" alt="世系图预览" class="max-h-full max-w-full object-contain">
      </div>
    </div>
    <div class="text-center">
      <button class="bg-red-500 text-white px-6 py-2 rounded hover:bg-red-600 transition"><i class="fas fa-file-pdf mr-2"></i>导出 PDF</button>
    </div>
  </main>
</body>
</html>